Empresas
Empregos
  • Sobre nós
  • Soluções
    • Publicação de vagas
      Publique sua vaga e receba candidatos qualificados em 48h.
    • Avaliações de candidatos
      Mais de 500 testes técnicos e psicológicos, mais anti-fraude.
    • Headhunting
      Busca executiva personalizada do início ao fim.
    • Folha de Pagamento + EOR
      Dispersão de folha e EOR em mais de 15 países da LATAM.
  • Preços
  • Empregos

0

128
Visualizações
[Azure]{NodeJS} Accessing MS Graph Using Client Credentials One Drive

I can't seem to grasp my error

this is the result of the JSON return

{
"error": {
    "code": "UnknownError",
    "message": "",
    "innerError": {
        "date": "2022-03-16T13:43:15",
        "request-id": "7dc60220-68fb-411f-a3e7-9d2eac74483a",
        "client-request-id": "7dc60220-68fb-411f-a3e7-9d2eac74483a"
         }
    }
}

it's not telling me anything

I don't know what's wrong,

I looked at the token and I have roles

by the way I have client_credentials token

 https://graph.microsoft.com/v1.0/drive/root/children

Update: I tried on https://developer.microsoft.com/en-us/graph/graph-explorer using this api https://graph.microsoft.com/v1.0/drive/root it works on that website,

But in postman it won't work, is it because I used client credentials token?

about 4 years ago · Juan Pablo Isaza
1 Respostas
Responde à pergunta

0

You haven't specified which drive to open. The URL should be like this for a user's drive:

https://graph.microsoft.com/v1.0/users/{user-id}/drive/root/children

There are other examples on the documentation page. Note you cannot use /me as you are using client credentials, which means that the token does not identify a user. You must instead use /users/{user-id} for user drives.

about 4 years ago · Juan Pablo Isaza Relatório
Responde à pergunta
Encontrar trabalhos remotos

Descubra a nova forma de encontrar um emprego!

melhores empregos
Principais categorias de trabalho
Empresas
Postar vaga Preços Comercial
Jurídico
Termos e Condições Política de privacidade
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomende algumas ofertas para mim
Preciso de ajuda